<div id="mediaPlayer">Loading the player...</div>
<script type="text/javascript" language="javascript">
    (function($) {
        /*whatever jQuery stuff*/
        $(function(){
			//JW player
			jwplayer("mediaPlayer").setup({
        		file: "<?php echo other_asset_url('uploads/video/files/'.date('Y',strtotime($dataResult->create_date)).'/'.date('m',strtotime($dataResult->create_date)).'/'.date('d',strtotime($dataResult->create_date)).'/'.$dataResult->video_file_name.'.'.$dataResult->video_file_ext);?>",
      			width: 400,
      			height: 300,
				events: {
					onComplete: function(event) {
						jwplayer().play();
					}
				}
    		});				
        });
    })(jQuery);
</script>